package com.dmn.gcode.springchains.adapters;

import com.dmn.gcode.springchains.core.In;

/**
 * User: dvponomarev
 * Date: 22.06.11
 */
public class IsObjectNullBooleanAdapter implements In<Boolean> {
    private In object;

    public Boolean get() {
        return this.object.get() == null;
    }

    public void setObject(In object) {
        this.object = object;
    }
}
